package com.jumper.study.front.websocket.dto;

public enum MessageType {
    START(1),   //开始学习
    UPDATE(2),  //更新学习记录
    END(3),     //结束学习
    HEART(9);

    private int value = 0;

    private MessageType(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }
}
